package com.itheima.common.exception;


import com.itheima.common.response.ResponseResult;

/**
 * @author ：mengw9
 * @date ：Created By 2020/9/18 9:15
 * @description：
 * @version:
 */

public class BusinessException extends RuntimeException{
    private ResponseResult result;

    public BusinessException(ResponseResult result) {
        this.result = result;
    }

    public ResponseResult getResponseResult() {
        return result;
    }

}
